<?php

class InformacioController extends Zend_Controller_Action
{

	public function init()
    {
        $this->_helper->layout()->setLayout('layout-front');
    }

    public function indexAction()
    {
        $productesMapper = new Application_Model_ProductosMapper();
        $this->view->entries = $productesMapper->fetchAll('tipo_registro = "C"', 'fecha DESC');
        
        $this->view->buscador = "<h2>- Salvador Asbert</h2><p>ConsectetuerL ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.</p>";
        $this->view->jsHeaderView= "$('#mnuElPoligon').addClass('selected');";
    }

}

